package com.woniuxy.credit_loans.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName borrow
 */
@Data
public class Borrow implements Serializable {
    private Integer borrowId;

    private String userName;

    private BigDecimal borrowMoney;

    private Integer borrowCount;

    private String borrowType;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date borrowCreattime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date borrowPreatendtime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    private Date borrowRealityendtime;

    private String borrowStatus;

    private Integer userId;

    private Integer productId;

    private String borrowBy1;

    private String reId;

    private String borrowBy2;

    private static final long serialVersionUID = 1L;
}